<?php
/**
 * Created by PhpStorm.
 * User: palidin
 * Date: 2019/1/26
 * Time: 16:25
 */

namespace App\Console\Tasks;

use Fresh\Annotation\Console\TaskMapping;
use Fresh\Console\Task;

class DemoTask extends Task
{
    /**
     * @TaskMapping(value="示例任务")
     */
    public function demo()
    {
        echo date("Y-m-d H:i:s");
    }
}